﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AmorCanino.Web.Models.Models;

namespace AmorCanino.Web.Models.Services
{
    public interface IMessagingService
    {
        void SetMessages(AmorCanino.Web.Models.Models.Communication message,
            int originatorUser, int destinationUser);

        AmorCanino.Web.Models.Models.Chat GetMessage(int originatorUser, int destinationUser, int myId);

        List<AmorCanino.Web.Models.Models.FullComunication> GetAllMessages(int myId);

        int GetUnreadedMessagesCount(int myId);
    }
}